import Vue from 'vue'
import {message, notification} from 'ant-design-vue' /// es/notification

/**
 * 控制按钮是否显示
 *
 * @author chenxianlin
 * @date 2020/06/27 02:34
 */
export function ConCopy (text) {
  Vue.prototype.$copyText(text).then(res => {
    console.log('复制成功copy')
    message.success(`卡号 ${text} 复制完毕`)
  }).catch(err => {
    console.log('复制失败copy.err')
    message.error('复制失败')
  })
}
